<template>
  <div>
    <div class="Comment">
      <div class="Comment-avatar">
        <img
          src="https://img.meituan.net/maoyanuser/ebf548135ebf96c1b67ec8ba0acfaab72810.jpg@100w_100h_1e_1c"
          alt=""
        />
      </div>
      <div class="Comment-msg-wrap">
        <div class="Comment-user">
          <div class="Comment-user-info">
            <div class="Comment-user-name">nwi16413856</div>
            <div class="Comment-user-score">
              <span>12-04</span><SScore :scorevalue="scorevalue"></SScore>
            </div>
          </div>
          <div class="Comment-user-zan">
            9787
          </div>
        </div>
        <div class="Comment-msg">
          医生说：抑郁患者很容易哭 很容易流泪 没抑郁的人拼命在装抑郁
          而真正抑郁的人在拼命装正常人 谁都不说”
          （我希望全世界能够包容抑郁患者）
        </div>
      </div>
    </div>
  </div>
</template>
<style lang="scss" scoped>
.Comment {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  .Comment-avatar {
    overflow: hidden;
    img {
      display: block;
      border-radius: 50%;
      width: 50px;
      height: 50px;
    }
  }
  .Comment-msg-wrap {
    width: 660px;
    .Comment-user {
      display: flex;
      justify-content: space-between;
      align-items: center;
      .Comment-user-info {
        font-size: 16px;
        color: #333;
        .Comment-user-score {
          color: #999;
          font-size: 16px;
          display: flex;
          align-items: center;
          span {
            margin-right: 5px;
          }
        }
      }
      .Comment-user-zan {
        font-size: 14px;
        color: #999;
      }
    }
    .Comment-msg {
      margin-top: 20px;
      padding-bottom: 30px;
      border-bottom: 1px solid #e5e5e5;
      color: #666;
      line-height: 26px;
      font-size: 14px;
    }
  }
}
</style>
<script>
import SScore from "./SScore";
export default {
  data() {
    return {
      scorevalue: 5,
    };
  },
  components: {
    SScore,
  },
};
</script>
